﻿using System;
using System.Data;

namespace Shopping.Entities
{
    /// -----------------------------------------------------------------------------
    ///<summary>
    /// The Info class for the PublishersInfo
    /// </summary>
    /// <remarks>
    /// </remarks>
    /// <history>
    /// </history>
    /// -----------------------------------------------------------------------------
    public class PublishersInfo
    {
        #region Private Members
		
        private string _alia="";
        private string _name="";
        #endregion
        #region Constructors
        // initialization

        #endregion
        #region Public Properties
        /// <summary>
        /// Get and Set Property Data of File column Alias in Table Publishers 
        /// </summary>
				
        public string Alia
        {
            get{ return _alia; }
            set{ _alia = value; }
        }
				
        /// <summary>
        /// Get and Set Property Data of File column Name in Table Publishers 
        /// </summary>
				
        public string Name
        {
            get{ return _name; }
            set{ _name = value; }
        }
				
        #endregion		
		
        #region IHydratable Implementation

        /// <summary>
        /// 
        /// </summary>        
        public void Fill(IDataReader oReader)
        {
            _alia=Convert.ToString(oReader["Alia"]);
            _name=Convert.ToString(oReader["Name"]);
        }
        #endregion
    }
}